package com.neusoft.ysu.populationmanagement.service;

import com.neusoft.ysu.populationmanagement.entity.CommonResult;
import com.neusoft.ysu.populationmanagement.entity.Operator;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lhn
 * @since 2025-06-13
 */
public interface IOperatorService  {

//    CommonResult login(String username, String password);

    CommonResult registration(Operator operator);

    CommonResult selectOperatorByIdNum(String idNum);

    CommonResult selectOperatorByUsername(String username);

    CommonResult deleteByPid(Long pid);

    CommonResult deleteOperatorById(Operator operator);

    CommonResult enableOperator(Operator operator);

    List<Operator> selectAll();

    CommonResult changeLevel(Operator operator);
}
